define(function(){
	return {
		container:'<div class="layout-body">\
			  <div class="left">\
			    <ul id="Js-bole-cate" class="nav nav-pills nav-stacked">\
			      <li class="active" role="presentation" data-id="user"><a href="javascript:;">员工管理</a></li>\
			      <li role="presentation" data-id="jobs"><a href="javascript:;">职位管理</a></li>\
			      <li role="presentation" data-id="recom"><a href="javascript:;">推荐管理</a></li>\
			    </ul>\
			  </div>\
			  <div id="Js-bole-body" class="right"></div>\
			</div>',
		search:'<section class="who-search">\
				<div class="basicSearch">\
					姓名：<input id="Js-who-search" class="form-control" placeholder="请输入汉字或拼音" style="display: inline-block;width:140px;">\
					<span id="Js-showAdv" class="showAdvance"></span>\
				</div>\
				<ul id="Js-advancedSearch" class="advancedSearch">\
					<li class="dropdown clearfix">\
						<span class="title">部门：</span>	<button id="dropdownMenu1" class="btn btn-default dropdown-toggle" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">\
									<span id="Js-dep">全部</span><span class="caret"></span>\
								</button>\
								<ul class="dropdown-menu" aria-labelledby="dropdownMenu1">\
									<li><a href="javascript:;">全部</a></li>\
									<%for(var i=0;i<dep.length;i++){%>\
										<li><a href="javascript:;"><%dep[i].name%></a></li>\
									<%}%>\
								</ul>\
					</li>\
					<li>\
						<span class="title">积分：</span>\
						<input type="text" class="Js-slider slider" data-type="jf" data-slider-min="0" data-slider-max="100" data-slider-step="1" data-slider-value="[0,100]"/>\
						<span id="Js-jifen">0-100</span>\
					</li>\
					<li>\
						<span class="title">推荐人数：</span>\
						<input type="text" class="Js-slider slider" data-type="tj" data-slider-min="0" data-slider-max="100" data-slider-step="1" data-slider-value="[0,100]" data-slider-handle="square"/>\
						<span id="Js-recom">0-100</span>\
					</li>\
					<li>\
						<button type="button" id="Js-search" class="btn btn-primary">搜索</button>\
					</li>\
				</ul>\
			</section>',
		table:'<table id="Js-searchResult" width="100%" class="display dataTable no-footer search-table">\
            <thead>\
                    <th>员工编号</th>\
                    <th>姓名</th>\
                    <th>部门</th>\
                    <th>推荐人数</th>\
                    <th>积分</th>\
            </thead>\
            <tbody>\
            </tbody>\
        </table>',
		user:'<section class="who-content">\
		</section>',
		jobsAdd:'<span id="Js-jobs-add" class="bole-jobs-add"></span>',
		jobsAddContent:'<section class="who-content">\
			<section class="bole-title">\
				添加职位\
				<span id="Js-jobs-addBack" class="back"></span>\
			</section>\
			<form class="bole-job-form" name="jobsForm" wx-validator-ajax wx-validator-error-tag="div" action="/bole/jobs/add">\
				<div class="dropdown clearfix">\
					<span class="title">部门：</span>\
					<button id="dropdownMenu1" class="btn btn-default dropdown-toggle" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">\
						<span id="Js-dep"><%dep[0].name%></span><span class="caret"></span>\
					</button>\
					<ul id="Js-depMenu" class="dropdown-menu" aria-labelledby="dropdownMenu1">\
						<%for(var i=0;i<dep.length;i++){%>\
							<li><a href="javascript:;"><%dep[i].name%></a></li>\
						<%}%>\
					</ul>\
				</div>\
				<div>\
					职位： <input name="title" wx-validator-rule="required" type="text" class="form-control" placeholder="请输入职位名称"/>\
				</div>\
				<div class="dropdown clearfix">\
					<span class="title">职级：</span>\
					<button id="dropdownMenu2" class="btn btn-default dropdown-toggle" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">\
						<span id="Js-level"><%level[0]%></span><span class="caret"></span>\
					</button>\
					<ul id="Js-titleMenu" class="dropdown-menu" aria-labelledby="dropdownMenu2">\
						<%for(var i=0;i<level.length;i++){%>\
							<li><a href="javascript:;"><%level[i]%></a></li>\
						<%}%>\
					</ul>\
				</div>\
				<div>\
					<span class="bole-job-desc">描述：</span> <textarea name="desc" wx-validator-rule="required" class="form-control" placeholder="对这个职位的描述"></textarea>\
				</div>\
				<input type="hidden" name="level"/>\
				<input type="hidden" name="dep"/>\
				<input type="submit" class="btn btn-primary btn-lg" value="提交"/>\
			</form>\
		</section>',
		jobsEmpty:'<section class="who-content">\
			<span>没有职位</span>\
		</section>',
		jobsTable:'<table id="Js-jobsTable" width="100%" class="display dataTable no-footer search-table">\
            <thead>\
                    <th>部门</th>\
                    <th>职位</th>\
                    <th>职级</th>\
                    <th>创建时间</th>\
                    <th>状态</th>\
            </thead>\
            <tbody>\
            </tbody>\
        </table>',
		recommendTable:'<table id="Js-recommendTable" width="100%" class="display dataTable no-footer search-table">\
            <thead>\
                    <th>员工编号</th>\
                    <th>推荐人姓名</th>\
                    <th>被推荐人姓名</th>\
                    <th>部门</th>\
                    <th>职位</th>\
                    <th>职级</th>\
                    <th>状态</th>\
                    <th>操作</th>\
            </thead>\
            <tbody>\
            </tbody>\
        </table>',
		recommendAdd:'<span id="Js-recommend-add" class="bole-jobs-add"></span>',
		recommendAddContent:'<section class="bole-title">\
				添加推荐\
				<span id="Js-jobs-addBack" class="back"></span>\
			</section>\
			<div class="bole-recommAdd">\
				<div class="title">推荐人</div>\
				<table>\
					<tr><td class="inputLabel">姓名：</td><td><input id="Js-bole-recommSearch" class="form-control" placeholder="请输入汉字或拼音"/></td><td class="inputLabel">编号：</td><td><input id="Js-bole-code" class="form-control" readonly/></td></tr>\
					<tr><td class="inputLabel">部门：</td><td><input id="Js-bole-depart" class="form-control" readonly/></td><td class="inputLabel">职级：</td><td><input id="Js-bole-level" class="form-control" readonly/></td></tr>\
				</table>\
			</div>\
			<div class="bole-recommAdd">\
				<div class="title">被荐人</div>\
				<table>\
					<tr>\
						<td class="inputLabel">姓名：</td><td><input id="Js-bole-recommSearch" class="form-control" placeholder="请输入汉字或拼音"/></td>\
						<td class="inputLabel">职位：</td><td><input id="Js-bole-code" class="form-control"/></td>\
					</tr>\
					<tr>\
						<td class="inputLabel">部门：</td>\
							<td class="depart">\
							<button id="dropdownMenu3" class="btn btn-default dropdown-toggle" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">\
								<span id="Js-dep"><%dep[0].name%></span><span class="caret"></span>\
							</button>\
							<ul id="Js-depMenu" class="dropdown-menu" aria-labelledby="dropdownMenu3">\
								<%for(var i=0;i<dep.length;i++){%>\
									<li><a href="javascript:;"><%dep[i].name%></a></li>\
								<%}%>\
							</ul>\
						</td>\
						<td class="inputLabel">职级：</td>\
							<td class="depart">\
								<button id="dropdownMenu4" class="btn btn-default dropdown-toggle" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">\
									<span id="Js-level"><%level[0]%></span><span class="caret"></span>\
								</button>\
								<ul id="Js-titleMenu" class="dropdown-menu" aria-labelledby="dropdownMenu4">\
									<%for(var i=0;i<level.length;i++){%>\
										<li><a href="javascript:;"><%level[i]%></a></li>\
									<%}%>\
								</ul>\
							</td>\
					</tr>\
				</table>\
			</div>\
			<div class="bole-recommAdd">\
				<div class="title">简历</div>\
				<input type="button" value="上传" class="resume-upload btn btn-info">\
				<input id="Js-upload" type="file" name="file" wx-upload="/bole/recommend/uploadfile">\
				<a id="Js-uploadName" target="_blank" href="" class="uploadName"></a>\
			</div>\
			<input id="Js-resume-submit" type="button" value="添加" class="resume-submit btn btn-primary">'
	}
});
